<%@ page contentType="application/vnd.ms-excel" pageEncoding="ISO-8859-1"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%response.setHeader("Content-Disposition", "attachment;filename=Laporan_Rekap_Prestasi_mahasiswa.xls"); %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Laporan <?php echo $title ?></title>

</head>
<body>

         
				
<div class="form_description">
					<h2 align="center">Laporan Rekap Prestasi Mahasiswa Sistem Informasi ITS </h2>
					<p></p>
					
</div>

<table id = "rounded-corner" width="69%" border="2" bordercolor="#000000">
                                            <tr>
                                                <th class="table-header-repeat line-left">No</th>
                                                <th class="table-header-repeat line-left minwidth-1">Nama Kegiatan</th>
                                                <th class="table-header-repeat line-left">Tahun</th>
                                                <th class="table-header-repeat line-left">Tingkat</th>
                                                <th class="table-header-repeat line-left">Prestasi yang Dicapai</th>
                                                

                                            </tr>
                                            <% int i =1; %> 
                                            <c:forEach items="${prestasi1}" var="prestasi" >
                                                <tr>
                                                    <td><% out.print(i); i++; %></td>
                                                    <td>${prestasi.namaKegiatan}</td>
                                                    <td>${prestasi.tahunPrestasi}</td>
                                                    <td>${prestasi.tingkat}</td>
                                                    <td>${prestasi.prestasiDicapai}</td>
                                         
                                                </tr>
                                            </c:forEach>




                                            </tr>
                                        </table>

 <script>window.print();</script>            
</body> 
</html>
